class BadDataError(Exception): 
  """Raised if the data doesn't fit the format expected.
  """
  pass
  
class BadChartError(Exception):
  """Raised if an invalid chart is requested.
  """
  pass